package stz.flash.option.strobe;

import stz.flash.option.PersistentData;

public class StrobeOption {

	private static final StrobeOption instance = new StrobeOption();
	
	PersistentData data = PersistentData.getPersistentDatabase();

	private StrobeOption() {
	}

	public static StrobeOption getIns() {
		return instance;
	}
	
	
	public Integer getOnTime() {
		return data.getOnTime();
	}
	public void setOnTime(Integer onTime) {
		data.setOnTime(onTime);
	}
	
	public Integer getCustomOnTime() {
		return data.getCustomOnTime();
	}
	public void setCustomOnTime(Integer onTime) {
		data.setCustomOnTime(onTime);
	}


	/**
	 * @param strobe 의 time interval 관련 메서드   
	 */
	public Integer getTimeInterval() {
		return data.getTimeInterval();
	}
	public void setTimeInterval(Integer time) {
		data.setTimeInterval(time);
	}

	public Integer getCustomTimeInterval() {
		return data.getCustomTimeInterval();
	}
	public void setCustomTimeInterval(Integer time) {
		data.setCustomTimeInterval(time);
	}
	
	public int getTimeIntervalMainIndex() {
		return data.getTimeIntervalMainIndex();
	}
	public void setTimeIntervalMainIndex(int index) {
		data.setTimeIntervalMainIndex(index);
	}
}
